.class public Lcom/example/m6wmr/wxapi/WXEntryActivity;
.super Landroid/app/Activity;
.source "WXEntryActivity.java"

# interfaces
.implements Lcom/tencent/mm/sdk/openapi/IWXAPIEventHandler;


# static fields
.field private static final TIMELINE_SUPPORTED_VERSION:I = 0x21020001

.field public static final action:Ljava/lang/String; = "jason.broadcast.action"


# instance fields
.field private api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

.field private checkBtn:Landroid/widget/Button;

.field et_phone_authcode:Landroid/widget/EditText;

.field et_phone_phone:Landroid/widget/EditText;

.field private favButton:Landroid/widget/Button;

.field private getAuthCode:Ljava/lang/String;

.field private gethttpString:Ljava/lang/String;

.field private gotoBtn:Landroid/widget/Button;

.field private h:Landroid/os/Handler;

.field private handler:Landroid/os/Handler;

.field private isstop:Z

.field private launchBtn:Landroid/widget/Button;

.field ll_phonetime:Landroid/widget/LinearLayout;

.field m:Lmyapp/MyApp;

.field private mcontext:Landroid/content/Context;

.field openid:Ljava/lang/String;

.field private payBtn:Landroid/widget/Button;

.field phone_phone:Ljava/lang/String;

.field private regBtn:Landroid/widget/Button;

.field private time:I

.field private tv_phonetime:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 47
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 52
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->m:Lmyapp/MyApp;

    .line 65
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->isstop:Z

    .line 47
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/wxapi/WXEntryActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 56
    iget-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->handler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/wxapi/WXEntryActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 55
    iget-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/wxapi/WXEntryActivity;)V
    .locals 0

    .prologue
    .line 533
    invoke-direct {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->bangding()V

    return-void
.end method

.method static synthetic access$11(Lcom/example/m6wmr/wxapi/WXEntryActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 66
    iput-object p1, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->gethttpString:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$12(Lcom/example/m6wmr/wxapi/WXEntryActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 57
    iget-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->h:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/wxapi/WXEntryActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 62
    iput-object p1, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->getAuthCode:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$3(Lcom/example/m6wmr/wxapi/WXEntryActivity;)I
    .locals 1

    .prologue
    .line 63
    iget v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->time:I

    return v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/wxapi/WXEntryActivity;I)V
    .locals 0

    .prologue
    .line 63
    iput p1, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->time:I

    return-void
.end method

.method static synthetic access$5(Lcom/example/m6wmr/wxapi/WXEntryActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 64
    iget-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->tv_phonetime:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/wxapi/WXEntryActivity;)Z
    .locals 1

    .prologue
    .line 65
    iget-boolean v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->isstop:Z

    return v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/wxapi/WXEntryActivity;Z)V
    .locals 0

    .prologue
    .line 65
    iput-boolean p1, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->isstop:Z

    return-void
.end method

.method static synthetic access$8(Lcom/example/m6wmr/wxapi/WXEntryActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 62
    iget-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->getAuthCode:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/wxapi/WXEntryActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 66
    iget-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->gethttpString:Ljava/lang/String;

    return-object v0
.end method

.method private bangding()V
    .locals 1

    .prologue
    .line 534
    new-instance v0, Lcom/example/m6wmr/wxapi/WXEntryActivity$6;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity$6;-><init>(Lcom/example/m6wmr/wxapi/WXEntryActivity;)V

    .line 580
    invoke-virtual {v0}, Lcom/example/m6wmr/wxapi/WXEntryActivity$6;->start()V

    .line 582
    return-void
.end method

.method private get(Ljava/lang/String;)V
    .locals 1
    .param p1, "code"    # Ljava/lang/String;

    .prologue
    .line 478
    new-instance v0, Lcom/example/m6wmr/wxapi/WXEntryActivity$5;

    invoke-direct {v0, p0, p1}, Lcom/example/m6wmr/wxapi/WXEntryActivity$5;-><init>(Lcom/example/m6wmr/wxapi/WXEntryActivity;Ljava/lang/String;)V

    .line 529
    invoke-virtual {v0}, Lcom/example/m6wmr/wxapi/WXEntryActivity$5;->start()V

    .line 531
    return-void
.end method

.method private goToGetMsg()V
    .locals 2

    .prologue
    .line 448
    const-string v0, "code>>>>>>>>>>>>>"

    const-string v1, "goToGetMsg"

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 450
    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->finish()V

    .line 451
    return-void
.end method

.method private goToShowMsg(Lcom/tencent/mm/sdk/modelmsg/ShowMessageFromWX$Req;)V
    .locals 5
    .param p1, "showReq"    # Lcom/tencent/mm/sdk/modelmsg/ShowMessageFromWX$Req;

    .prologue
    .line 454
    iget-object v2, p1, Lcom/tencent/mm/sdk/modelmsg/ShowMessageFromWX$Req;->message:Lcom/tencent/mm/sdk/modelmsg/WXMediaMessage;

    .line 455
    .local v2, "wxMsg":Lcom/tencent/mm/sdk/modelmsg/WXMediaMessage;
    iget-object v1, v2, Lcom/tencent/mm/sdk/modelmsg/WXMediaMessage;->mediaObject:Lcom/tencent/mm/sdk/modelmsg/WXMediaMessage$IMediaObject;

    check-cast v1, Lcom/tencent/mm/sdk/modelmsg/WXAppExtendObject;

    .line 457
    .local v1, "obj":Lcom/tencent/mm/sdk/modelmsg/WXAppExtendObject;
    new-instance v0, Ljava/lang/StringBuffer;

    invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V

    .line 458
    .local v0, "msg":Ljava/lang/StringBuffer;
    const-string v3, "description: "

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 459
    iget-object v3, v2, Lcom/tencent/mm/sdk/modelmsg/WXMediaMessage;->description:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 460
    const-string v3, "\n"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 461
    const-string v3, "extInfo: "

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 462
    iget-object v3, v1, Lcom/tencent/mm/sdk/modelmsg/WXAppExtendObject;->extInfo:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 463
    const-string v3, "\n"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 464
    const-string v3, "filePath: "

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 465
    iget-object v3, v1, Lcom/tencent/mm/sdk/modelmsg/WXAppExtendObject;->filePath:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    .line 473
    const-string v3, "code>>>>>>>>>>>>>"

    const-string v4, "goToShowMsg"

    invoke-static {v3, v4}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 474
    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->finish()V

    .line 475
    return-void
.end method


# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
    .locals 4
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 70
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 71
    const v2, 0x7f030024

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->setContentView(I)V

    .line 72
    iput-object p0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->mcontext:Landroid/content/Context;

    .line 73
    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    check-cast v2, Lmyapp/MyApp;

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->m:Lmyapp/MyApp;

    .line 75
    iget-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v2}, Lmyapp/MyApp;->getAPPID()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-static {p0, v2, v3}, Lcom/tencent/mm/sdk/openapi/WXAPIFactory;->createWXAPI(Landroid/content/Context;Ljava/lang/String;Z)Lcom/tencent/mm/sdk/openapi/IWXAPI;

    move-result-object v2

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    .line 76
    iget-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    invoke-interface {v2, v3, p0}, Lcom/tencent/mm/sdk/openapi/IWXAPI;->handleIntent(Landroid/content/Intent;Lcom/tencent/mm/sdk/openapi/IWXAPIEventHandler;)Z

    .line 77
    iget-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->m:Lmyapp/MyApp;

    iget v2, v2, Lmyapp/MyApp;->regtime:I

    iput v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->time:I

    .line 78
    const v2, 0x7f0c00d2

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->ll_phonetime:Landroid/widget/LinearLayout;

    .line 79
    const v2, 0x7f0c00d1

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->et_phone_phone:Landroid/widget/EditText;

    .line 80
    const v2, 0x7f0c00d4

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/EditText;

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->et_phone_authcode:Landroid/widget/EditText;

    .line 81
    const v2, 0x7f0c00d3

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->tv_phonetime:Landroid/widget/TextView;

    .line 83
    const/high16 v2, 0x7f0c0000

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 84
    .local v1, "top":Landroid/widget/LinearLayout;
    iget-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v2}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v2

    const-string v3, "1"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 85
    const v2, 0x7f070026

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 87
    :cond_0
    iget-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->ll_phonetime:Landroid/widget/LinearLayout;

    new-instance v3, Lcom/example/m6wmr/wxapi/WXEntryActivity$1;

    invoke-direct {v3, p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity$1;-><init>(Lcom/example/m6wmr/wxapi/WXEntryActivity;)V

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 159
    new-instance v2, Lcom/example/m6wmr/wxapi/WXEntryActivity$2;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity$2;-><init>(Lcom/example/m6wmr/wxapi/WXEntryActivity;)V

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->handler:Landroid/os/Handler;

    .line 274
    new-instance v2, Lcom/example/m6wmr/wxapi/WXEntryActivity$3;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity$3;-><init>(Lcom/example/m6wmr/wxapi/WXEntryActivity;)V

    iput-object v2, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->h:Landroid/os/Handler;

    .line 358
    const v2, 0x7f0c00d5

    invoke-virtual {p0, v2}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 359
    .local v0, "loginbtn":Landroid/widget/TextView;
    new-instance v2, Lcom/example/m6wmr/wxapi/WXEntryActivity$4;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity$4;-><init>(Lcom/example/m6wmr/wxapi/WXEntryActivity;)V

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 369
    return-void
.end method

.method protected onNewIntent(Landroid/content/Intent;)V
    .locals 1
    .param p1, "intent"    # Landroid/content/Intent;

    .prologue
    .line 373
    invoke-super {p0, p1}, Landroid/app/Activity;->onNewIntent(Landroid/content/Intent;)V

    .line 375
    invoke-virtual {p0, p1}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->setIntent(Landroid/content/Intent;)V

    .line 376
    iget-object v0, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->api:Lcom/tencent/mm/sdk/openapi/IWXAPI;

    invoke-interface {v0, p1, p0}, Lcom/tencent/mm/sdk/openapi/IWXAPI;->handleIntent(Landroid/content/Intent;Lcom/tencent/mm/sdk/openapi/IWXAPIEventHandler;)Z

    .line 377
    return-void
.end method

.method public onReq(Lcom/tencent/mm/sdk/modelbase/BaseReq;)V
    .locals 3
    .param p1, "req"    # Lcom/tencent/mm/sdk/modelbase/BaseReq;

    .prologue
    const/4 v2, 0x0

    .line 382
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "openid = "

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p1, Lcom/tencent/mm/sdk/modelbase/BaseReq;->openId:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 384
    invoke-virtual {p1}, Lcom/tencent/mm/sdk/modelbase/BaseReq;->getType()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    .line 397
    .end local p1    # "req":Lcom/tencent/mm/sdk/modelbase/BaseReq;
    :goto_0
    :pswitch_0
    return-void

    .line 386
    .restart local p1    # "req":Lcom/tencent/mm/sdk/modelbase/BaseReq;
    :pswitch_1
    invoke-direct {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->goToGetMsg()V

    goto :goto_0

    .line 389
    :pswitch_2
    check-cast p1, Lcom/tencent/mm/sdk/modelmsg/ShowMessageFromWX$Req;

    .end local p1    # "req":Lcom/tencent/mm/sdk/modelbase/BaseReq;
    invoke-direct {p0, p1}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->goToShowMsg(Lcom/tencent/mm/sdk/modelmsg/ShowMessageFromWX$Req;)V

    goto :goto_0

    .line 392
    .restart local p1    # "req":Lcom/tencent/mm/sdk/modelbase/BaseReq;
    :pswitch_3
    const-string v0, "111"

    invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 384
    nop

    :pswitch_data_0
    .packed-switch 0x3
        :pswitch_1
        :pswitch_2
        :pswitch_0
        :pswitch_3
    .end packed-switch
.end method

.method public onResp(Lcom/tencent/mm/sdk/modelbase/BaseResp;)V
    .locals 5
    .param p1, "resp"    # Lcom/tencent/mm/sdk/modelbase/BaseResp;

    .prologue
    const/4 v4, 0x1

    .line 404
    invoke-virtual {p1}, Lcom/tencent/mm/sdk/modelbase/BaseResp;->getType()I

    move-result v1

    if-ne v1, v4, :cond_0

    .line 406
    const-string v2, "code>>>>>>>>>>>>>"

    new-instance v3, Ljava/lang/StringBuilder;

    move-object v1, p1

    check-cast v1, Lcom/tencent/mm/sdk/modelmsg/SendAuth$Resp;

    iget-object v1, v1, Lcom/tencent/mm/sdk/modelmsg/SendAuth$Resp;->code:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v3, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "111"

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v2, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 410
    :cond_0
    const/4 v0, 0x0

    .line 412
    .local v0, "result":I
    iget v1, p1, Lcom/tencent/mm/sdk/modelbase/BaseResp;->errCode:I

    packed-switch v1, :pswitch_data_0

    .line 435
    :pswitch_0
    const v0, 0x7f09005e

    .line 436
    const-string v1, "code>>>>>>>>>>>>>"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "------"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "123"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 437
    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->finish()V

    .line 442
    .end local p1    # "resp":Lcom/tencent/mm/sdk/modelbase/BaseResp;
    :goto_0
    return-void

    .line 415
    .restart local p1    # "resp":Lcom/tencent/mm/sdk/modelbase/BaseResp;
    :pswitch_1
    const v0, 0x7f09005b

    .line 417
    invoke-virtual {p1}, Lcom/tencent/mm/sdk/modelbase/BaseResp;->getType()I

    move-result v1

    if-ne v1, v4, :cond_1

    move-object v1, p1

    .line 418
    check-cast v1, Lcom/tencent/mm/sdk/modelmsg/SendAuth$Resp;

    iget-object v1, v1, Lcom/tencent/mm/sdk/modelmsg/SendAuth$Resp;->code:Ljava/lang/String;

    invoke-direct {p0, v1}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->get(Ljava/lang/String;)V

    .line 419
    const-string v1, "code>>>>>>>>>>>>>"

    new-instance v2, Ljava/lang/StringBuilder;

    check-cast p1, Lcom/tencent/mm/sdk/modelmsg/SendAuth$Resp;

    .end local p1    # "resp":Lcom/tencent/mm/sdk/modelbase/BaseResp;
    iget-object v3, p1, Lcom/tencent/mm/sdk/modelmsg/SendAuth$Resp;->code:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "111"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 424
    :goto_1
    iget-object v1, p0, Lcom/example/m6wmr/wxapi/WXEntryActivity;->mcontext:Landroid/content/Context;

    const-string v2, "\u6210\u529f"

    const/16 v3, 0xbb8

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 422
    .restart local p1    # "resp":Lcom/tencent/mm/sdk/modelbase/BaseResp;
    :cond_1
    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->finish()V

    goto :goto_1

    .line 427
    :pswitch_2
    const v0, 0x7f09005c

    .line 428
    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->finish()V

    goto :goto_0

    .line 431
    :pswitch_3
    const v0, 0x7f09005d

    .line 432
    invoke-virtual {p0}, Lcom/example/m6wmr/wxapi/WXEntryActivity;->finish()V

    goto :goto_0

    .line 412
    :pswitch_data_0
    .packed-switch -0x4
        :pswitch_3
        :pswitch_0
        :pswitch_2
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
